package com.hugong.yxx.wksp.modules.service;

import com.hugong.yxx.wksp.common.bean.JSONResult;
import com.hugong.yxx.wksp.common.bean.UserBean;
import com.hugong.yxx.wksp.persistence.entity.User;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2019-08-13
 */
public interface IUserService extends IService<User> {

    String redirectUrl();

    UserBean getUser(Object parame) throws Exception;

    JSONResult weixinLogin(Object parame) throws Exception;

    JSONResult messageLogin(String cellphone, String code);

    JSONResult addUser(String username, String code, String password);
}
